package top.xtcoder.jdcbase.base.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="crontab",ignoreInvalidFields=true, ignoreUnknownFields=true)
public class CrontabConfig {
	//禁用crontab
	private boolean enable;

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}
}
